package com.ruoyi.order.service;

import java.util.List;

import com.ruoyi.art.domain.ArtGood;
import com.ruoyi.order.domain.OrderItems;

/**
 * 订单商品明细Service接口
 * 
 * @author ruoyi
 * @date 2025-06-09
 */
public interface IOrderItemsService 
{
    /**
     * 查询订单商品明细
     * 
     * @param orderItemId 订单商品明细主键
     * @return 订单商品明细
     */
    public OrderItems selectOrderItemsByOrderItemId(Integer orderItemId);

    /**
     * 查询订单商品明细列表
     * 
     * @param orderItems 订单商品明细
     * @return 订单商品明细集合
     */
    public List<OrderItems> selectOrderItemsList(OrderItems orderItems);

    /**
     * 新增订单商品明细
     * 
     * @param orderItems 订单商品明细
     * @return 结果
     */
    public int insertOrderItems(OrderItems orderItems);

    /**
     * 修改订单商品明细
     * 
     * @param orderItems 订单商品明细
     * @return 结果
     */
    public int updateOrderItems(OrderItems orderItems);

    /**
     * 批量删除订单商品明细
     * 
     * @param orderItemIds 需要删除的订单商品明细主键集合
     * @return 结果
     */
    public int deleteOrderItemsByOrderItemIds(Integer[] orderItemIds);

    /**
     * 删除订单商品明细信息
     * 
     * @param orderItemId 订单商品明细主键
     * @return 结果
     */
    public int deleteOrderItemsByOrderItemId(Integer orderItemId);



    ArtGood selectArtGoodByGoodId(Integer goodId);

}
